package com.order.fegin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


@FeignClient(
        name = "store-server",
        path = "/store"
)
public interface StoreFeignClient {

    @PostMapping("/count")
    void minCount(@RequestBody StoreParam from);
}
